package com.guigu.service.design;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.guigu.pojo.design.DFile;

import java.util.HashMap;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mr.Zhang
 * @since 2024-12-06
 */
public interface DFileService extends IService<DFile> {
    //产品档案登记
    public Boolean addFile(DFile file);

    public DFile selectFileOrderByDescOne();

    public PageInfo<DFile> selectFileByPage(HashMap<String,Object> map);

    public DFile selectById(Integer id);

    public DFile selectByProductId(String productId);
}
